<!--回弹业务数据字典---回弹仪器设备管理---查看-->
<template>
    <div class="department">
        <!-- <div class="department_top">
        当前位置：回弹业务数据字典/回弹仪器设备管理
      </div> -->
        <!-- 左侧部门管理 -->
        <div class="structureTree" v-if="treelength">
            <div class="structureTree_title">
                <div>组织机构</div>
                <div>
                    <el-checkbox v-model="checked" @change="see()">查看下级</el-checkbox>
                </div>
            </div>
            <tree :treeData="treeData" nodeKey="fCompanyid" @getTreeInfo="handleNodeClick" :defaultProps="defaultProps">
            </tree>
            <!-- <el-tree :data="treeData" :props="defaultProps" :highlight-current="highlightBd"
                @node-click="handleNodeClick" node-key="fCompanyid" :accordion="true" :expand-on-click-node="false">
            </el-tree> -->
        </div>
        <!-- 右侧 -->
        <div class="department_right">
            <!-- 机构名称 -->
            <div class="department_right_name">
                <div>{{ showName }}</div>
            </div>
            <!-- 顶部导航栏 -->
            <div class="mechanism_nav">
                <!-- 左侧 -->
                <div class="mechanism_nav_left ">
                    <el-date-picker v-model="value2" type="daterange" align="right" unlink-panels range-separator="至"
                        start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions">
                    </el-date-picker>
                    <!-- <div class="selectCondition"> -->
                    <!-- <span class="nameBox">检测状态：</span> -->
                    <el-select class="selectCondition" @change="function (v) { return selectJudgetype(v) }"
                        v-model="getList.keyWord" placeholder="强度等级">
                        <el-option v-for="v in Checktype" :key="v.fItemName" :label="v.fItemName" :value="v">
                        </el-option>
                    </el-select>
                    <el-select class="selectBhz" @change="function (v) { return selectJudgetype(v) }"
                        v-model="getList.keyWord" placeholder="所有拌和站">
                        <el-option v-for="v in Checktype" :key="v.fItemName" :label="v.fItemName" :value="v">
                        </el-option>
                    </el-select>
                    <!-- </div> -->
                    <input class="projectBW" type="text" placeholder="工程名称/工程部位" v-model="getList.keyWord" />
                    <el-button type="primary" icon="el-icon-search" size="small" v-if="lr_look"
                        @click="getDataList(getList)">查询
                    </el-button>
                    <download-excel class="blueBtn" :data="tableData" :fields="json_fields" worksheet="My Worksheet"
                        name="用户信息列表">

                        <el-button type="primary" icon="el-icon-refresh" size="small">导出文件</el-button>
                    </download-excel>

                </div>
                <!-- 顶部按钮 -->
                <div class="print">
                    <!-- <div class="printTable">
                        <el-button type="primary" icon="el-icon-refresh" size="small" @click="getDataList(getList)">
                        </el-button>

                        <el-button type="primary" icon="el-icon-search" size="small" @click="editText(fId)">查看
                        </el-button>
                        <download-excel class="blueBtn" :data="tableData" :fields="json_fields" worksheet="My Worksheet"
                            name="用户信息列表">

                            <el-button type="primary" icon="el-icon-refresh" size="small">导出文件</el-button>
                        </download-excel>
                    </div> -->
                </div>
            </div>

            <!-- 表格 -->
            <div class="text_table">
                <tableData :config="table_config" :dataList="tableData" :loading="loading"
                    @selection-change="selectionChange" @sort-change="sortChange" @click-change="rowChange" />
                <pagination :total="queryCriteriaData.total" :pageNum.sync="getList.page" :limit.sync="getList.pageSize"
                    @pagination="getDataList()" />
                <!-- <el-table ref="multipleTable" v-loading="loading" element-loading-text="拼命加载中"
                    element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.2)"
                    @row-click="getRowInfo" :data="tableData" style="width: 100%" height="100%" stripe border
                    highlight-current-row @current-change="rowChange">
                    <el-table-column fixed type="index" label="序号" width="50" align="center">
                    </el-table-column>
                    <el-table-column prop="fProjectname" label="建设项目简称" width="200">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fProjectname">{{
                                        scope.row.fProjectname
                                }}</a>
                            </div>
                        </template>
                    </el-table-column>
                    <el-table-column prop="fCompanyname" label="施工标段简称" width="200">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fCompanyname">{{
                                        scope.row.fCompanyname
                                }}</a>
                            </div>
                        </template>
                    </el-table-column>

                    <el-table-column prop="fEqptno" label="设备编码" width="120">
                        <template slot-scope="scope">
                            <el-button @click="openDialog(scope.row)" @cell-dblclick="openDialog" type="text"
                                size="small" style="padding: 0 !important; margin: 0">
                                {{ scope.row.fEqptno }}
                            </el-button>
                        </template>
                    </el-table-column>

                    <el-table-column prop="fEqptname" label="设备名称" width="120">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fEqptname">{{
                                        scope.row.fEqptname
                                }}</a>
                            </div>
                        </template>
                    </el-table-column>
                    <el-table-column prop="fEqptspecs" label="规格型号" width="120">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fEqptspecs">{{
                                        scope.row.fEqptspecs
                                }}</a>
                            </div>
                        </template>
                    </el-table-column>
                    <el-table-column prop="fFactoryname" label="制造厂家" width="200">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fFactoryname">{{
                                        scope.row.fFactoryname
                                }}</a>
                            </div>
                        </template>
                    </el-table-column>
                    <el-table-column prop="fCertificationno" label="生产编号" width="100" align="center">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fCertificationno">{{
                                        scope.row.fCertificationno
                                }}</a>
                            </div>
                        </template>
                    </el-table-column>
                    <el-table-column prop="fOutdates" label="生产日期" width="100" align="center">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fOutdates">{{
                                        scope.row.fOutdates
                                }}</a>
                            </div>
                        </template>
                    </el-table-column>

                    <el-table-column prop="fNote" label="备注">
                        <template slot-scope="scope">
                            <div class="lineBoxhidden">
                                <a href="javascript:;" :title="scope.row.fNote">{{ scope.row.fNote }}</a>
                            </div>
                        </template>
                    </el-table-column>
                </el-table> -->
            </div>

            <!--弹框 查看 -->
            <div class="Control-1 mechanism_dialogS">
                <el-dialog title="查看仪器设备信息" :visible.sync="dialogTableVisible" v-loading="loadingDialog"
                    element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading"
                    element-loading-background="rgba(0, 0, 0, 0.2)">
                    <div class="dialogBody common" :style="{ height: dialogHeight }">
                        <el-form :model="formData" ref="formData">
                            <div class="tableRow">
                                <el-form-item label="建设项目简称" prop="fProjectname" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fProjectname" autocomplete="off" placeholder="请输入"
                                        disabled></el-input>
                                </el-form-item>
                                <el-form-item label="施工标段简称" prop="fCompanyname" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fCompanyname" autocomplete="off" placeholder="请输入"
                                        disabled></el-input>
                                </el-form-item>
                            </div>
                            <div class="tableRow">
                                <el-form-item label="外检设备类型" prop="fUseplace" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fUseplace" autocomplete="off" disabled></el-input>
                                </el-form-item>
                                <el-form-item label="设备名称" prop="fEqptname" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fEqptname" autocomplete="off" disabled></el-input>
                                </el-form-item>
                            </div>
                            <div class="tableRow">
                                <el-form-item label="设备编号" prop="fEqptno" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fEqptno" autocomplete="off" disabled></el-input>
                                </el-form-item>
                                <el-form-item label="规格型号" prop="fEqptspecs" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fEqptspecs" autocomplete="off" disabled></el-input>
                                </el-form-item>
                            </div>
                            <div class="tableRow">
                                <el-form-item label="制造厂家" prop="fFactoryname" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fFactoryname" autocomplete="off" disabled></el-input>
                                </el-form-item>
                                <el-form-item label="生产编号" prop="fCertificationno" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fCertificationno" autocomplete="off" disabled>
                                    </el-input>
                                </el-form-item>
                            </div>
                            <div class="tableRow">
                                <el-form-item label="生产日期" prop="fOutdates" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fOutdates" autocomplete="off" disabled></el-input>
                                </el-form-item>
                                <el-form-item label="保管人" prop="fOperusername" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fOperusername" autocomplete="off" disabled></el-input>
                                </el-form-item>
                            </div>

                            <div class="tableRow" style="margin-top: 10px">
                                <el-form-item label="资料附件" prop="fSourcefile" :label-width="formLabelWidth">
                                    <!-- <el-input v-model="formData.fSourcefile" type="textarea" :rows="4" placeholder="请输入内容"
                      autocomplete="off" disabled></el-input> -->
                                    <div style="
                        height: 96px;
                        width: 100%;
                        border-radius: 4px;
                        border: 1px solid #dcdfe6;
                        box-sizing: border-box;
                        background-color: #f5f7fa;
                      ">
                                        <div ref="fPhotofilelist" style="
                          height: 25px;
                          line-height: 25px;
                          width: 100%;
                          display: flex;
                          border-radius: 5px;
                          margin: 8px 0 2px 0;
                        ">
                                            <div v-for="(v, i) in fPhotofilelist" :key="i"
                                                style="margin: 2px 3px; height: 87%" @click="openPdfs(v)">
                                                <img style="max-width: 100%; max-height: 100%"
                                                    src="@/assets/img/pdf.png" />
                                            </div>
                                        </div>
                                    </div>
                                </el-form-item>
                                <el-form-item label="备注" prop="fNote" :label-width="formLabelWidth">
                                    <el-input v-model="formData.fNote" type="textarea" :rows="4" placeholder="请输入内容"
                                        autocomplete="off" disabled></el-input>
                                </el-form-item>
                            </div>

                            <!-- <el-form-item class="newlyAdded_btn">
                  <el-button type="warning" @click="resetForm()">关闭</el-button>
                </el-form-item> -->
                        </el-form>
                    </div>
                </el-dialog>
            </div>
            <!-- 查看图片 -->
            <div class="Control-2">
                <el-dialog :title="fFileName" :visible.sync="dialogPdf">
                    <div :style="{ height: dialogHeights }">
                        <iframe :src="pdfUrl" width="100%" height="100%" frameborder="0"></iframe>
                    </div>
                </el-dialog>
            </div>
        </div>
    </div>
</template>
  
<script>
import tree from '@/components/public/el-tree';
import TableData from '@/components/public/el-table';
import Pagination from '@/components/public/el-pagination';
import {
    getUserCompanyTreeList,
    // getBaseCompanyList,
    // getMangEquipmentPageList,
    getMangEquipmentByFid,
} from "@/api/request.js";
import { sexType, statusType } from '@/utils/config';
export default {
    inject: ["reload"],
    name: "Home",
    data() {
        return {


            pickerOptions: {
                shortcuts: [{
                    text: '今天',
                    onClick(picker) {
                        const end = new Date();
                        const start = new Date();
                        console.log(start);
                        start.setTime(start.getTime());
                        picker.$emit('pick', [start, end]);
                    }
                }, {
                    text: '昨天',
                    onClick(picker) {
                        const end = new Date();
                        const start = new Date();
                        console.log(start);
                        start.setTime(start.getTime() - 3600 * 1000 * 24);
                        end.setTime(end.getTime() - 3600 * 1000 * 24);

                        picker.$emit('pick', [start, end]);
                    }
                }, {
                    text: '最近一周',
                    onClick(picker) {
                        const end = new Date();
                        const start = new Date();
                        start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
                        picker.$emit('pick', [start, end]);
                    }
                }, {
                    text: '最近一个月',
                    onClick(picker) {
                        const end = new Date();
                        const start = new Date();
                        start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
                        picker.$emit('pick', [start, end]);
                    }
                }, {
                    text: '最近三个月',
                    onClick(picker) {
                        const end = new Date();
                        const start = new Date();
                        start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
                        picker.$emit('pick', [start, end]);
                    }
                }, {
                    text: '最近一年',
                    onClick(picker) {
                        const end = new Date();
                        const start = new Date();
                        start.setTime(start.getTime() - 3600 * 1000 * 24 * 365);
                        picker.$emit('pick', [start, end]);
                    }
                }]
            },

            value2: '',
            json_fields: {  //导出Excel表格的表头设置
                '序号': 'type',
                '生产任务单号': 'name',
                // '工程名称': 'sex',
                '工程部位': 'projectName',
                '实际方量': 'phone',
                '强度等级': 'phone',
                '状态': 'status',
                '出料时间': 'time',



            },
            // 配置项
            table_config: {
                imgKeyWord: "url",
                fileKeyWord: "url",
                fileName: "fFileName",
                dialogHeight: '',
                thead: [
                    {
                        label: '生产任务单号',
                        prop: 'name',
                        minWidth: '150px',
                        router: true,
                        routerPath: 'xxx'
                    },
                    {
                        label: '工程名称',
                        prop: 'sex',
                        minWidth: '100px',
                        filter: true,
                        callback: (rowData) => {
                            let data = sexType[rowData.sex]
                            if (data) {
                                return data.label
                            }
                        }
                    },
                    // { label: '工程部位', prop: 'projectName', minWidth: '100px', detail: true },
                    { label: '实际方量', prop: 'phone', minWidth: '100px', detail: true },
                    { label: '强度等级', prop: 'projectName', minWidth: '100px', detail: true },
                    {
                        label: '状态',
                        prop: 'status',
                        minWidth: '150px',
                        filter: true,
                        btn: true,
                        colorName: '',
                        callback: (rowData) => {
                            console.log(rowData);
                            let data = statusType[rowData.status]
                            if (data) {

                                return data.label
                            }
                        },
                        specialClass: (rowData) => {
                            let data = statusType[rowData.status]
                            if (data) {
                                return data.className
                            }
                        }
                    },
                    { label: '出料时间', prop: 'time', minWidth: '100px', detail: true },
                    {
                        label: '操作',
                        prop: 'role',
                        minWidth: '100px',
                        filter: true,
                        callback: () => {
                            return '查看'
                            // let data = sexType[rowData.sex]
                            // if (data) {
                            //     return data.label
                            // }
                        }
                    },
                    // { label: '头像', prop: 'img', minWidth: '100px', image: true },
                    // { label: '文件', prop: 'file', minWidth: '100px', file: true },


                    // { label: '电话', prop: 'phone', minWidth: '150px', },
                    // { label: '时间', prop: 'time', minWidth: '200px', sortable: true },
                    // {
                    //     label: '角色',
                    //     prop: 'role',
                    //     minWidth: '150px',
                    //     filter: true,
                    //     colorName: '',
                    //     callback: (rowData) => {
                    //         let data = roleType[rowData.role]
                    //         if (data) {
                    //             return data.label
                    //         }
                    //     },
                    //     specialClass: (rowData) => {
                    //         let data = roleType[rowData.role]
                    //         if (data) {
                    //             return data.className
                    //         }
                    //     }
                    // },
                    // {
                    //     label: '状态',
                    //     prop: 'status',
                    //     minWidth: '150px',
                    //     switch: true,
                    //     callback: this.changeStatus
                    // },
                ],
                isCheckBox: true,
                isIndex: true,
                isOperation: true,
                // 表格操作列
                // operation: {
                //     label: '操作',
                //     width: '200',
                //     cols: [
                //         {
                //             label: '查看',
                //             type: 'primary',
                //             handleRow: this.handleRow
                //         },
                //         {
                //             label: '删除',
                //             type: 'danger',
                //             handleRow: this.handleRow
                //         }
                //     ]
                // },
            },
            queryCriteriaData: {},

            // 上传图
            fPhotofilelist: [],
            dialogPdf: false,
            pdfUrl: "",
            fFileName: "", // 上传附件
            dialogHeights: "",
            // 上传图
            name: "instrument",
            lr_look: null,
            highlightBd: true, //左侧机构树停留背景色
            Checktype: [
                {
                    fItemName: "强度等级",
                    fItemValue: "强度等级",
                },
                {
                    fItemName: "SXDS-BHJ-SG1-0101",
                    fItemValue: "未开始",
                }, {
                    fItemName: "检测中",
                    fItemValue: "检测中",
                }, {
                    fItemName: "已结束",
                    fItemValue: "已结束",
                },
            ],//检测状态：- 根据当前登录用户获取检测类型
            treelength: false, //左侧树显示隐藏
            checked: true, //查看下级
            showName: "未选择公司",
            dialogHeight: "",
            fId: null, //当前数据fId
            loading: false,
            fDepartmentid: "", //当前行部门id
            dialogFormVisible: false,
            // 列表
            getList: {
                modelType: "2", // 0代办 1已办  2查询页面
                fCompanyid: null, //机构id
                fUserid: null, //当前登录用户id
                sublevel: "1", //查看下级  1是0否
                keyWord: null, //设备名称模糊查询字段
                keyType: null, //设备类型
                page: 1, //页码
                pageSize: 20, //每页条数
            },

            // 查看
            loadingDialog: false,
            dialogTableVisible: false,
            formData: {},
            row: null,
            companyTree: "", //所有数据
            formLabelWidth: "82px",
            treeData: [], //左侧树
            tableData: [], //表格数据列表
            // 左侧机构树
            defaultProps: {
                children: "children",
                label: "fShortname",
            },
            companyId: null,
            userInfo: {}, //登录用户
            treeText: {
                companyId: null,
                userId: null,
            },
        };
    },
    components: {
        tree,
        TableData,
        Pagination,
    },
    mounted() {
        this.userInfo = JSON.parse(sessionStorage.getItem("monitorBack-userInfo"));
        this.getHeight();
        this.getTree();
        this.btnRole(this.name);
    },
    methods: {
        btnRole(name) {
            var btnList = [];
            var ModuleList = JSON.parse(sessionStorage.getItem("monitorBack-ModuleList"));
            if (ModuleList.length > 0) {
                ModuleList.map((item) => {
                    if (item.fEncode == name) {
                        btnList = item.modulebuttonList;
                    }
                });
                var btnStr = [];
                btnList.map((item) => {

                    btnStr.push(item.fEncode);
                });
                this.lr_look = btnStr.includes("lr_look");
            } else {
                this.lr_look = true;
            }
        },
        // 左侧树结构
        getTree() {
            this.treeText.companyId = this.userInfo.companyId;
            this.treeText.userId = this.userInfo.userId;
            getUserCompanyTreeList(this.treeText)
                .then((res) => {
                    if (res.errcode == 0) {
                        var companyTree = res.data.userCompanyTreeList;
                        this.treeData = this.tranListToTreeData(companyTree);
                        if (this.treeData[0].children == undefined) {
                            this.treelength = false;
                        }
                        else {
                            this.treelength = true;
                        }
                        this.companyId = this.treeData[0].fCompanyid;
                        this.showName = this.treeData[0].fShortname;
                        // 列表
                        this.getList.fCompanyid = this.treeData[0].fCompanyid;
                        this.getDataList(this.getList);
                        // 列表
                    } else {
                        this.$message.error(res.msg);
                        // this.$message.error("获取组织机构失败");
                        return false;
                    }
                })
                .catch(() => {
                    return false;
                });
        },
        tranListToTreeData(data) {
            let result = [];
            if (!Array.isArray(data)) {
                return result;
            }
            // 清除已存在的children 重新赋值
            data.forEach((item) => {
                delete item.children;
            });

            let map = {};
            data.forEach((item) => {
                map[item.fCompanyid] = item;
            });

            data.forEach((item) => {
                let parent = map[item.fParentid];
                if (parent) {
                    (parent.children || (parent.children = [])).push(item);
                } else {
                    result.push(item);
                }
            });
            return result;
        },
        selectJudgetype(e) {
            this.getList.keyWord = e.fItemName
            this.getDataList(this.getList);
        },
        // 获取列表数据
        getDataList(id) {
            this.loading = true;
            id.fUserid = this.userInfo.userId;
            this.tableData = [{
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: "1",
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],



            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],
            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 2,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],


            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 3,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],


            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 3,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],
            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],
            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],

            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],


            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],

            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],



            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],




            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],



            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],


            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],



            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],



            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],


            }, {
                name: '花花',
                sex: '1',
                imgKeywords: "url",
                img: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                }, {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                }],
                phone: '18092642207',
                time: '2022-07-25',
                role: '1',
                status: 0,
                projectName: "77777",
                fileKeywords: "url",
                fileName: "fFileName",
                file: [{
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "aaa"
                },
                {
                    url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                    fFileName: "bbb"
                }],



            }
                // , {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],



                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],



                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],



                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],



                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],


                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],
                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],


                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],
                // }, {
                //     name: '花花',
                //     sex: '1',
                //     imgKeywords: "url",
                //     img: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/XCZP1667445593000/9c469875-ebd6-43ab-b25e-96ddd8609d09.jpg"
                //     }, {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/CLZP1667445593000/827c906b-9b5d-4227-8758-f846a4236f23.jpg"
                //     }],
                //     phone: '18092642207',
                //     time: '2022-07-25',
                //     role: '1',
                //     status: 0,
                //     projectName: "77777",
                //     fileKeywords: "url",
                //     fileName: "fFileName",
                //     file: [{
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "aaa"
                //     },
                //     {
                //         url: "http://1.14.19.236:8301//fileAnnexes/20221103/ZLFJ1667445551000/300aa5f3-738f-48d3-8552-1adbc37e6887.pdf",
                //         fFileName: "bbb"
                //     }],


                // },
            ]
            this.loading = false;
            // getMangEquipmentPageList(id)
            //     .then((res) => {
            //         if (res.errcode == 0) {
            //             var that = this;
            //             that.loading = false;
            //             that.tableData = res.data.mangEquipmentList.list;
            //             setTimeout(() => {
            //                 that.$nextTick(() => {
            //                     that.$refs.multipleTable.doLayout();
            //                 });
            //             }, 200);
            //         } else {
            //             this.$message.error(res.msg);
            //             return false;
            //         }
            //     })
            //     .catch((error) => {
            //         this.$message.error(error.msg);
            //     });
        },
        // 多选方法
        selectionChange(val) {
            console.log(val);
        },
        // 排序方法
        sortChange(val) {
            console.log(val);
        },
        // 点击当前行
        rowChange(val) {
            console.log(val);
        },
        // changeStatus(val) {
        //     console.log(val);
        // },
        // 通过设备类型过滤
        filterDepartment(type) {
            if (type == "==请选择==") {
                this.getList.keyType = "";
            } else {
                this.getList.keyType = type;
            }
            this.getDataList(this.getList);
        },
        //查看下级
        see() {
            if (this.checked == true) {
                this.getList.sublevel = 1;
            } else {
                this.getList.sublevel = 0;
            }
            this.getDataList(this.getList);
        },
        // 查看
        editText(id) {
            this.fPhotofilelist = [];
            if (id != "" && id != null) {
                this.dialogTableVisible = true;
                this.loadingDialog = false;
                getMangEquipmentByFid({ fId: id }).then((res) => {
                    if (res.errcode == 0) {
                        var that = this;
                        that.loadingDialog = false;
                        that.dialogTableVisible = true;
                        that.formData = res.data.lrMangEquipment;
                        this.fPhotofilelist = res.data.fSourcefileList
                    } else {
                        this.$message.error(res.msg);
                    }
                });
            } else {
                return this.$message.error("请先选择需要查看的数据");
            }
        },
        openPdfs(v) {
            this.dialogPdf = true;
            this.pdfUrl = v.url;
            this.fFileName = v.fFileName;
        },
        // 关闭
        resetForm() {
            this.dialogTableVisible = false;
        },

        // 点击当前行
        getRowInfo(e) {
            this.row = e;
            this.fId = e.fId;
        },
        // 点击设备编码
        openDialog(row) {

            this.fId = row.fId;
            this.editText(this.fId);
        },
        // 点击当前行变色
        // rowChange(val) {
        //     this.currentRow = val;
        // },

        // 获取页面容器高度
        getHeight() {
            var h = document.documentElement.clientHeight; //获取页面可见高度
            // var w = document.documentElement.clientWidth; //获取页面可见高度
            this.dialogHeight = h * 0.35 + "px";
            this.dialogHeights = h * 0.95 + "px";
        },
        // 点击左侧机构树
        handleNodeClick(data) {
            if (this.checked == true) {
                this.getList.sublevel = 1;
            } else {
                this.getList.sublevel = 0;
            }
            this.showName = data.fShortname; //顶部显示机构名
            this.getList.fCompanyid = data.fCompanyid;

            this.getDataList(this.getList);
        },
        getTreeInfo(data) {
            if (this.checked == true) {
                this.getList.sublevel = 1;
            } else {
                this.getList.sublevel = 0;
            }
            this.showName = data.fShortname; //顶部显示机构名
            this.getList.fCompanyid = data.fCompanyid;

            this.getDataList(this.getList);
        }
    },
};
</script>
  
<style scoped>
.printTables {
    background: #fff;
    display: flex;
    justify-content: end;
    padding: 5px;
    margin-top: 10px;
}

.dialogBody {
    padding: 3px 20px;
    height: 80%;
    overflow-y: auto;

}
</style>